using System;

namespace WS.Manager.WinService.WinApi
{
    [Flags]
    public enum ScmAccessRights
    {
        Connect = 0x0001,

        CreateService = 0x0002,

        EnumerateService = 0x0004,

        Lock = 0x0008,

        QueryLockStatus = 0x0010,

        ModifyBootConfig = 0x0020,

        StandardRightsRequired = 0xF0000,

        AllAccess =
            (StandardRightsRequired | Connect | CreateService | EnumerateService | Lock | QueryLockStatus |
             ModifyBootConfig)
    }
}